home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / cups / templates / jobs.tmpl < prev    next >
Text File  |  2009-10-31  |  2KB  |  38 lines

  1. {#job_id=0?:
  2. <TABLE CLASS="list" SUMMARY="Job List">
  3. <THEAD>
  4. <TR><TH><A HREF="{THISURL}?QUERY={?QUERY}&WHICH_JOBS={?WHICH_JOBS}&FIRST={FIRST}&ORDER={ORDER=dec?asc:dec}">{ORDER=dec?<SMALL>▲</SMALL> ID <SMALL>▲</SMALL>:<SMALL>▼</SMALL> ID <SMALL>▼</SMALL>}</A></TH><TH>Name</TH><TH>User</TH><TH>Size</TH><TH>Pages</TH><TH>State</TH><TH>Control</TH></TR>
  5. </THEAD>
  6. <TBODY>
  7. {[job_id]
  8. <TR VALIGN="TOP">
  9. <TD><A HREF="{job_printer_uri}">{job_printer_name}</A>-{job_id} </TD>
  10. <TD>{?job_name=?Unknown:{job_name}} </TD>
  11. <TD>{job_originating_user_name} </TD>
  12. <TD>{job_k_octets}k </TD>
  13. <TD>{job_media_sheets_completed=0?Unknown:{?job_media_sheets_completed}} </TD>
  14. <TD>{job_state=3?pending since<BR>{time_at_creation}:{job_state=4?held since<BR>{time_at_creation}:
  15. {job_state=5?processing since<BR>{time_at_processing}:{job_state=6?stopped:
  16. {job_state=7?canceled at<BR>{time_at_completed}:{job_state=8?aborted:completed at<BR>{time_at_completed}}}}}}} {job_printer_state_message?<BR>
  17. <EM>"{job_printer_state_message}"</EM>:}</TD>
  18. <TD>
  19. {job_preserved>0?{job_state>5?
  20. <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="restart-job"><INPUT TYPE="HIDDEN" NAME="job_id" VALUE="{job_id}"><INPUT TYPE="HIDDEN" NAME="job_printer_uri" VALUE="{job_printer_uri}">
  21. <INPUT TYPE="SUBMIT" VALUE="Reprint Job"></FORM>:}:}
  22. {job_state=4?
  23. <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="release-job"><INPUT TYPE="HIDDEN" NAME="job_id" VALUE="{job_id}"><INPUT TYPE="HIDDEN" NAME="job_printer_uri" VALUE="{job_printer_uri}">
  24. <INPUT TYPE="SUBMIT" VALUE="Release Job"></FORM>:}
  25. {job_state=3?
  26. <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="hold-job"><INPUT TYPE="HIDDEN" NAME="job_id" VALUE="{job_id}"><INPUT TYPE="HIDDEN" NAME="job_printer_uri" VALUE="{job_printer_uri}">
  27. <INPUT TYPE="SUBMIT" VALUE="Hold Job"></FORM>:}
  28. {job_state<7?
  29. <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="cancel-job"><INPUT TYPE="HIDDEN" NAME="job_id" VALUE="{job_id}"><INPUT TYPE="HIDDEN" NAME="job_printer_uri" VALUE="{job_printer_uri}">
  30. <INPUT TYPE="SUBMIT" VALUE="Cancel Job"></FORM>
  31. <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="move-job"><INPUT TYPE="HIDDEN" NAME="job_id" VALUE="{job_id}"><INPUT TYPE="SUBMIT" VALUE="Move Job"></FORM>:}
  32.  </TD>
  33. </TR>
  34. }
  35. </TBODY>
  36. </TABLE>
  37. }
  38.